package com.yaoayao.mall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yaoayao.mall.model.product.SpuSaleAttr;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: peiyao
 * @date: 2024/4/13 11:22
 * @description:
 */
public interface SpuSaleAttrMapper extends BaseMapper<SpuSaleAttr> {
    List<SpuSaleAttr> spuSaleAttrList(Long spuId);

    List<SpuSaleAttr> getSaleAttrAndValeAndChecked(@Param("skuId")Long skuId,@Param("spuId") Long spuId);
}
